package com.example.demo.web.rest.evt;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * @Author zhengmf
 * @Date 2019/1/2  16:16
 */
@ApiModel("反馈信息保存参数")
public class SaveFeedbackEvt implements Serializable {
    private static final long serialVersionUID = 5673705489491677420L;
    @ApiModelProperty("反馈标题")
    @NotBlank
    private String title;
    @ApiModelProperty("反馈内容")
    @NotBlank
    private String content;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "SaveFeedbackEvt{" +
            "title='" + title + '\'' +
            ", content='" + content + '\'' +
            '}';
    }
}
